home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmsyscm / _setup.1 / AHMTResourceInfo.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-12  |  3.0 KB  |  80 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTResourceInfo.pas' rev: 3.00
  6.  
  7. #ifndef AHMTResourceInfoHPP
  8. #define AHMTResourceInfoHPP
  9. #include <AHMSystem.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include <Classes.hpp>
  12. #include <Messages.hpp>
  13. #include <Windows.hpp>
  14. #include <SysUtils.hpp>
  15. #include <SysInit.hpp>
  16. #include <System.hpp>
  17.  
  18. //-- user supplied -----------------------------------------------------------
  19.  
  20. namespace Ahmtresourceinfo
  21. {
  22. //-- type declarations -------------------------------------------------------
  23. class DELPHICLASS TAHMResourceInfo;
  24. class PASCALIMPLEMENTATION TAHMResourceInfo : public Ahmsystem::TAHMSystemsComponent 
  25. {
  26.     typedef Ahmsystem::TAHMSystemsComponent inherited;
  27.     
  28. private:
  29.     Extctrls::TTimer* FCurrentTimer;
  30.     Classes::TNotifyEvent fonnv;
  31.     _MEMORYSTATUS MemStat;
  32.     System::AnsiString fctim;
  33.     System::AnsiString fcdat;
  34.     bool fcnum;
  35.     bool fccaps;
  36.     bool fcscroll;
  37.     System::AnsiString fcdrive;
  38.     System::AnsiString fsdrive;
  39.     System::AnsiString ffreemem;
  40.     System::AnsiString ftotmem;
  41.     System::AnsiString fphysmem;
  42.     System::AnsiString fmaxpage;
  43.     System::AnsiString fVirtmem;
  44.     void __fastcall Setcaps(bool value);
  45.     void __fastcall SetNum(bool value);
  46.     void __fastcall SetScroll(bool value);
  47.     void __fastcall SetAll(System::AnsiString value);
  48.     
  49. protected:
  50.     void __fastcall CheckInfo(System::TObject* Sender);
  51.     
  52. public:
  53.     __fastcall virtual TAHMResourceInfo(Classes::TComponent* AOwner);
  54.     __fastcall virtual ~TAHMResourceInfo(void);
  55.     
  56. __published:
  57.     __property System::AnsiString CurrentTime = {read=fctim, write=SetAll, stored=false};
  58.     __property System::AnsiString CurrentDate = {read=fcdat, write=SetAll, stored=false};
  59.     __property Classes::TNotifyEvent OnNewValues = {read=fonnv, write=fonnv};
  60.     __property System::AnsiString CurrDriveFree = {read=fcdrive, write=SetAll, stored=false};
  61.     __property System::AnsiString CurrDriveSize = {read=fsdrive, write=SetAll, stored=false};
  62.     __property bool CapsLock = {read=fccaps, write=Setcaps, stored=false, nodefault};
  63.     __property bool NumLock = {read=fcnum, write=SetNum, stored=false, nodefault};
  64.     __property bool ScrollLock = {read=fcscroll, write=SetScroll, stored=false, nodefault};
  65.     __property System::AnsiString MemoryPercInUse = {read=ftotmem, write=SetAll, stored=false};
  66.     __property System::AnsiString PhysMemFree = {read=ffreemem, write=SetAll, stored=false};
  67.     __property System::AnsiString PhysMemTotal = {read=fphysmem, write=SetAll, stored=false};
  68.     __property System::AnsiString PageFileUsed = {read=fmaxpage, write=SetAll, stored=false};
  69.     __property System::AnsiString VirtualMemUsed = {read=fVirtmem, write=SetAll, stored=false};
  70. };
  71.  
  72. //-- var, const, procedure ---------------------------------------------------
  73.  
  74. }    /* namespace Ahmtresourceinfo */
  75. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  76. using namespace Ahmtresourceinfo;
  77. #endif
  78. //-- end unit ----------------------------------------------------------------
  79. #endif    // AHMTResourceInfo
  80.